function foo(
  a,
  b,
  c,
  d
){
  console.log(a,b,c);
}

foo(1,2,3,)